home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et-2_2.lha
/
et2.2
/
src
/
InitCol.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-12-04
|
468b
|
30 lines
#include "System.h"
#include "ProgEnv.h"
#include "Error.h"
char *gProgname= "*** progname not set ***";
bool gWinInit;
extern System *NewSunSystem();
void InitProgenv()
{
}
void ETInit()
{
# ifdef OS_SUNOS
gSystem= NewSunSystem();
if (gSystem->Init()) {
Warning("ETInit", "can't init operating system");
_exit(1);
}
# endif OS_SUNOS
if (gSystem == 0) {
Warning("ETInit", "no operating system found");
_exit(0); // give up
}
}